package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工基本信息对象 employee_basic_info
 * 
 * @author ruoyi
 * @date 2025-05-25
 */
public class EmployeeBasicInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工ID */
    private Long employId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 政治面貌 */
    @Excel(name = "政治面貌")
    private Integer politicalStatus;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 联系方式(手机号) */
    @Excel(name = "联系方式(手机号)")
    private String contactInfo;

    /** 员工状态 */
    @Excel(name = "员工状态")
    private Integer status;

    /** 照片 */
    @Excel(name = "照片")
    private String photo;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    public void setEmployId(Long employId) 
    {
        this.employId = employId;
    }

    public Long getEmployId() 
    {
        return employId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }

    public void setPoliticalStatus(Integer politicalStatus) 
    {
        this.politicalStatus = politicalStatus;
    }

    public Integer getPoliticalStatus() 
    {
        return politicalStatus;
    }

    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }

    public void setContactInfo(String contactInfo) 
    {
        this.contactInfo = contactInfo;
    }

    public String getContactInfo() 
    {
        return contactInfo;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("employId", getEmployId())
            .append("name", getName())
            .append("birthday", getBirthday())
            .append("politicalStatus", getPoliticalStatus())
            .append("idCard", getIdCard())
            .append("contactInfo", getContactInfo())
            .append("status", getStatus())
            .append("photo", getPhoto())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .toString();
    }
}
